import { defineStore } from "pinia";
import type { SpuFormData } from "@/api/product/models/spuModels";

export const useSpuStore = defineStore("spu", {
  state: (): SpuFormData => {
    return {
      id: undefined,
      spuName: "",
      description: "",
      tmId: undefined,
      spuImageList: [],
      spuSaleAttrList: [],
    };
  },
});
